﻿using Admin.Roles;
using Admin.Service.UserInfos.DTO;
using System.Collections.Generic;

namespace Admin.Service.Roles
{
    public interface IRoleService
    {
        Role Create(Role role);
        int Delete(int id);
        int DeleteList(int[] ids);
        Role GetRoleId(int id);
        List<Role> GetRoles(string rolename);
        int Update(Role role);
    }
}